package com.lanou.musicbox.custom;

import com.lanou.musicbox.bean.Mp3Info;
import com.lanou.musicbox.entity.Entity;

import java.util.List;

/**
 * Created by Chen FengYao on 15/10/29.
 * 用于存放 EventBus 的事件
 */
public class Events {


    public static class MusicInfoEvent {
        private List<Entity> mp3Infos;
        private String whatMusic;



        public List<Entity> getMp3Infos() {
            return mp3Infos;
        }

        public String getWhatMusic() {

            return whatMusic;
        }


        public void setMp3Infos(List<Entity> mp3Infos, String whatMusic) {
            this.mp3Infos = mp3Infos;
            this.whatMusic = whatMusic;
        }
    }

    public static class MusicItemEvent {
        private Mp3Info mp3Info;
        private String whatMusic;

        public void setMp3Item(Mp3Info mp3Info, String whatMusic) {
            this.mp3Info = mp3Info;
            this.whatMusic = whatMusic;
        }

        public Mp3Info getMp3Item() {
            return mp3Info;
        }

        public String getWhatMusic() {

            return whatMusic;
        }
    }


    public static class NewSongsEvent {
        List<Entity> songsInfos;
        private String whatMusic;

        public List<Entity> getSongsInfos() {
            return songsInfos;
        }
        public String getWhatMusic() {

            return whatMusic;
        }
        public void setMp3Infos(List<Entity> mp3Infos, String whatMusic) {
            this.songsInfos = mp3Infos;
            this.whatMusic = whatMusic;
        }
    }

    public static class FristEvent {
        String msg;

        public FristEvent(String msg) {
            this.msg = msg;
        }

        public String getMsg() {
            return msg;
        }

    }


}
